package models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import play.db.jpa.Model;

@Entity
public class Comment extends Model{
	 
	//	会员id 
	public Long memId ;
	 
	//	书信息表ID 
	public Long boolId ;
	 
	//	评论内容 
	@Column(length=5000)
	public String comDet; 
	 
	//评论时间 
	public Date comTime ;
	 
	//书评标题 
	@Column(length=500)
	public String comTit ;
	 
	//星级
	@Column(columnDefinition="double(3,2)")
	public Double xj;

}
